package chp10;

public class Test4_Student {

    public static void main(String[] args) {
        Student stu1 = new Student();
        Student stu2 = new Student();
        Student stu3 = new Student();

        stu1.id = 102;
        stu1.name = "jack";
        stu1.age = 19;
        stu1.gender = "boy";

        stu2.id = 105;
        stu2.name = "tom";
        stu2.age = 20;
        stu2.gender = "boy";

        stu3.id = 209;
        stu3.name = "rose";
        stu3.age = 21;
        stu3.gender = "girl";

        stu1.show();
        stu2.show();
        stu3.show();
    }
}
